//
//  GYMineBuyInfoViewModel.h
//  GYDemo
//
//  Created by mac on 2018/3/27.
//  Copyright © 2018年 mac. All rights reserved.
//

#import "GCBaseViewModel.h"

@interface GYMineBuyInfoModel : NSObject
@property (nonatomic, strong) NSString * areaname;
@property (nonatomic, strong) NSString * cityname;
@property (nonatomic, assign) NSInteger count;
@property (nonatomic, strong) NSString * createtime;
@property (nonatomic, assign) NSInteger down;
@property (nonatomic, strong) NSString * endtime;
@property (nonatomic, assign) NSInteger id;
@property (nonatomic, assign) NSInteger maxprice;
@property (nonatomic, assign) NSInteger minprice;
@property (nonatomic, strong) NSString * name;
@property (nonatomic, strong) NSString * protypename;
@property (nonatomic, strong) NSString * provincename;
@property (nonatomic, strong) NSArray * specialproperty;
@property (nonatomic, strong) NSString * supplycount;
@property (nonatomic, strong) NSString * unit;
@end

@interface GYMineBuyInfoViewModel : GCBaseViewModel
@property (nonatomic,strong) NSMutableArray *datas;
@property (nonatomic,strong) GYMineBuyInfoModel *currentModel;
-(void)requestDatas:(NSMutableDictionary *)para;

//-(void)requestUp:(GYMineBuyInfoModel *)buy;
//-(void)requestDown:(GYMineBuyInfoModel *)buy;
//-(void)requestDelete:(GYMineBuyInfoModel *)buy;

-(void)requestUpIndex:(NSInteger)index;
-(void)requestDownIndex:(NSInteger)index;
-(void)requestDeleteIndex:(NSInteger)index;
@end
